<%@page import="hyl.ext.base.MySession"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page	import="hyl.core.db.*,com.servlet.My,hyl.core.info.Content,hyl.core.MyFun"%>
<%

	MySession tk = My.getSession(request,response);
	int id =MyFun.str2int( request.getParameter("id"));
	int i0 =MyFun.str2int(request.getParameter("i0"));
	String t1 = request.getParameter("t1");
	String t2 = request.getParameter("t2");
	String t4 = request.getParameter("t4");//分类
	String t15 = request.getParameter("t15");//只修改备注 不修改别名
	String tm0 = request.getParameter("tm0");//logo
	//MyFun.print(id,i0,t1,t2,t4,tm0);
	String sql="update app set i0=?,t1=?,t2=?,t4=?,t15=?,tm0=?  where id=?";
	MyDB cdb = My.getCommitDB1();
	Object[] params = {i0,t1,t2,t4,t15,tm0,id};
	cdb.executeUpdate(sql, params);
	cdb.commit();

	////////////////////////////////dao//////////////////////////////////
//application/json;charset=UTF-8
//	Content ct = new Content();
//	ct.setCode(1, "查询成功");
//	out.print(ct.toJsonString());

//text/html; charset=UTF-8"
out.print("success");
%>